<?php
/* @var $this AddController */

$this->breadcrumbs=array(
	'update',
);
/*<input name="id" style="display:none"></input>*/
header('content-type:text/html;charset=utf-8');?>
<!--
<form action="index.php?r=user/update" method="post">
<input name="id" style="display:none" value=<?php echo $nowUser->id ?>></input>
<p>username</p>
<input name='user_name'value=<?php echo $nowUser->user_name ?>></input>
<br/>
<p>Nickname</p>
<input name='nick_name' value=<?php echo $nowUser->nick_name ?>></input>
</br>
<p>password</p>
<input name='password'value=<?php echo $nowUser->password ?>></input>
</br>
<input type='submit' value='submit'></input>
</form>
-->

<?php $form=$this->beginWidget('CActiveForm');?>
<table border="1" width"100%" class="" >
<tr>
    <td>
      <?php echo $form->labelEx($nowUser,'user_name') ?>
    </td>
    <td>
      <?php echo $form->textField($nowUser,'user_name') ?>
    </td>
</tr>
<tr>
       <td>
      <?php echo $form->labelEx($nowUser,'nick_name') ?>
    </td>
  <td>
      <?php echo $form->textField($nowUser,'nick_name') ?>
    </td>
</tr>
<tr>
       <td>
      <?php echo $form->labelEx($nowUser,'password') ?>
    </td>
  <td>
      <?php echo $form->passwordField($nowUser,'password') ?>
    </td>
</tr>
<tr>
       <td>
      <?php echo $form->radioButtonList($nowUser,'sex',$sex); ?>
    </td>
<tr>
      <td>
      <?php echo $form->dropDownList($nowUser,'edubg',$edubg) ?>
    </td>
</tr>
<td colspan="2"align="center">
<input type="submit" value="submit">
<td>
</tr>
</table>
<?php $form=$this->endWidget('CActiveForm'); ?>

